package com.dkm.biz.gl.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:邮箱管理设置 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2016-12-07 10:37:42
 */
 @ITable(name="emailConfig",code="t_gl_email_config")
public class EmailConfigTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="name",column="name_")
	protected String  name; 		/*名称*/
	@IField(name="desc",column="desc_")
	protected String  desc; 		/*描述*/
	@IField(name="type",column="type_")
	protected String  type; 		/*类型(保存时生成)*/
	@IField(name="serverIp",column="server_ip_")
	protected String  serverIp; 		/*服务器IP*/
	@IField(name="port",column="port_")
	protected String  port; 		/*服务器端口*/
	@IField(name="ssl",column="ssl_")
	protected String  ssl; 		/*是否使用SSL。Y=是；N=否*/
	@IField(name="username",column="username_")
	protected String  username; 		/*用户名*/
	@IField(name="password",column="password_")
	protected String  password; 		/*password_*/
	@IField(name="from",column="from_")
	protected String  from; 		/*邮件发送自(邮箱)*/
	@IField(name="fromName",column="from_name_")
	protected String  fromName; 		/*邮件发送自(名称)*/
	@IField(name="isDebug",column="is_debug_")
	protected String  isDebug; 		/*是否DEBUG。Y=是；N=否*/
	@IField(name="status",column="status_")
	protected String  status; 		/*邮箱状态。inactive=未激活；actived=已激活*/
	@IField(name="sendLimit",column="send_limit_")
	protected Integer  sendLimit; 		/*邮箱每次发送上限。0则为不限制*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setDesc(String desc) 
	{
		this.desc = desc;
	}
	/**
	 * 返回 描述
	 * @return
	 */
	public String getDesc() 
	{
		return this.desc;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 类型(保存时生成)
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setServerIp(String serverIp) 
	{
		this.serverIp = serverIp;
	}
	/**
	 * 返回 服务器IP
	 * @return
	 */
	public String getServerIp() 
	{
		return this.serverIp;
	}
	public void setPort(String port) 
	{
		this.port = port;
	}
	/**
	 * 返回 服务器端口
	 * @return
	 */
	public String getPort() 
	{
		return this.port;
	}
	public void setSsl(String ssl) 
	{
		this.ssl = ssl;
	}
	/**
	 * 返回 是否使用SSL。Y=是；N=否
	 * @return
	 */
	public String getSsl() 
	{
		return this.ssl;
	}
	public void setUsername(String username) 
	{
		this.username = username;
	}
	/**
	 * 返回 用户名
	 * @return
	 */
	public String getUsername() 
	{
		return this.username;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}
	/**
	 * 返回 password_
	 * @return
	 */
	public String getPassword() 
	{
		return this.password;
	}
	public void setFrom(String from) 
	{
		this.from = from;
	}
	/**
	 * 返回 邮件发送自(邮箱)
	 * @return
	 */
	public String getFrom() 
	{
		return this.from;
	}
	public void setFromName(String fromName) 
	{
		this.fromName = fromName;
	}
	/**
	 * 返回 邮件发送自(名称)
	 * @return
	 */
	public String getFromName() 
	{
		return this.fromName;
	}
	public void setIsDebug(String isDebug) 
	{
		this.isDebug = isDebug;
	}
	/**
	 * 返回 是否DEBUG。Y=是；N=否
	 * @return
	 */
	public String getIsDebug() 
	{
		return this.isDebug;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 邮箱状态。inactive=未激活；actived=已激活
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setSendLimit(Integer sendLimit) 
	{
		this.sendLimit = sendLimit;
	}
	/**
	 * 返回 邮箱每次发送上限。0则为不限制
	 * @return
	 */
	public Integer getSendLimit() 
	{
		return this.sendLimit;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("desc", this.desc) 
		.append("type", this.type) 
		.append("serverIp", this.serverIp) 
		.append("port", this.port) 
		.append("ssl", this.ssl) 
		.append("username", this.username) 
		.append("password", this.password) 
		.append("from", this.from) 
		.append("fromName", this.fromName) 
		.append("isDebug", this.isDebug) 
		.append("status", this.status) 
		.append("sendLimit", this.sendLimit) 
		.toString();
	}
}